package com.sweet.service;

import com.sweet.Result;
import com.sweet.model.Payment;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements IPaymentService {
    @Override
    public Result<Payment> paymentSQL(Long id) {
        return new Result<Payment>(44444, "服务降级返回,---PaymentFallbackService", new Payment(id, "errorSerial"));
    }
}
